package cn.stylefeng.guns.modular.business.frequency.orderinsurance.service;

import cn.stylefeng.guns.core.pojo.page.PageResult;
import cn.stylefeng.guns.modular.business.frequency.orderinsurance.entity.OrderInsurance;
import cn.stylefeng.guns.modular.business.frequency.orderinsurance.model.param.OrderInsuranceParam;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 订单生成保单合同表 服务类
 *
 * @author yujie
 * @date 2023/05/09 17:16
 */
public interface OrderInsuranceService extends IService<OrderInsurance> {

    /**
     * 分页查询订单生成保单合同表
     *
     * @author yujie
     * @date 2023/05/09 17:16
     */
    PageResult<OrderInsurance> page(OrderInsuranceParam orderInsuranceParam);

    /**
     * 查询所有订单生成保单合同表
     *
     * @author yujie
     * @date 2023/05/09 17:16
     */
    List<OrderInsurance> list(OrderInsuranceParam orderInsuranceParam);

    /**
     * 添加订单生成保单合同表
     *
     * @author yujie
     * @date 2023/05/09 17:16
     */
    void add(OrderInsuranceParam orderInsuranceParam);

    /**
     * 删除订单生成保单合同表
     *
     * @author yujie
     * @date 2023/05/09 17:16
     */
    void delete(OrderInsuranceParam orderInsuranceParam);

    /**
     * 编辑订单生成保单合同表
     *
     * @author yujie
     * @date 2023/05/09 17:16
     */
    void edit(OrderInsuranceParam orderInsuranceParam);

    /**
     * 查看详情订单生成保单合同表
     *
     * @author yujie
     * @date 2023/05/09 17:16
     */
    OrderInsurance detail(OrderInsuranceParam orderInsuranceParam);

}